calculation of cumulative fluid balance